import { dialog } from './dialog';
import { rechargeDialog } from './rechargeDialog';

// 统一导出所有弹窗工具
export const dialogs = {
  // 原有的弹窗
  alert: dialog.alert,
  confirm: dialog.confirm,
  
  // 新增的充值弹窗
  recharge: {
    // 显示算力不足弹窗
    showLowBalance(options = {}) {
      return rechargeDialog.showLowBalance(options);
    },
    
    // 自定义充值弹窗
    show(options = {}) {
      return rechargeDialog.show(options);
    }
  }
};

export default dialogs;